// 自动按需引入，vant加载提示 vue3 vant
import { showToast as Toast } from 'vant';
export default function ({ type, duration, text }) {
    return Toast({
        type,
        message: text,
        duration: duration || 0,
        forbidClick: true,
    })
}